<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="Access-Control-Allow-Origin" content="*">
		<title></title>
	</head>
	<script src="../../js/mui.min.js"></script>
	<script src="../../js/utils/http.utils.js"></script>
	<script src="../../js/jquery-1.8.3.min.js" type="text/javascript"></script>
	<script src="../../js/md5.js"></script>
	<script>
	$(document).ready(function(){
		document.title = "sdfdsfdsfsdf";
		
		$("#btn-dwa").click(function() {
			console.log($headers_authorization);
			console.log($request_url.userLogin);
			/*$.ajax({
				type: "get",
				url: "http://192.168.15.109:8080/pschool/portal/article/detail?id=1",
				success: function(data) {
					alert("success");
				}, 
				error: function(XMLHttpRequest, textStatus, errorThrown) {
					alert(XMLHttpRequest + " : " + textStatus +" : " + errorThrown);
				}
			});*/
		});
		
		$("#btn-dwa1").click(function() {
			mui.ajax("http://192.168.15.109:8080/pschool/api/article/detail?id=1", {
				type: "get",
				success: function(data) {
					alert("success");
				}, 
				dataType:"text",
				error: function(err) {
					//alert(XMLHttpRequest + " : " + textStatus +" : " + errorThrown);
					console.log(err);
				}
			});
		});
	});
	</script>

	<body>
		<input type="button" id="btn-dwa" value="点我啊" />
		
		<input type="button" id="btn-dwa1" value="点我啊1" />
	</body>

</html>